﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Handball_plugin.Model
{
    class HandballMatch
    {
        // match info
        private Boolean isPlayed;
        private int round;
        private DateTime date;
        private int homeTeamId;
        private int awayTeamId;
        private int homeScore;
        private int awayScore;
        private int refereeId;
        private int attendance;

        // match stat
        List<PlayerStat> homeStats;
        List<PlayerStat> awayStats;


        public Boolean IsPlayed { get { return isPlayed; } set { isPlayed = value; } }
        public int Round { get { return round; } set { round = value; } }
        public DateTime Date { get { return date; } set { date = value; } }
        public int HomeTeamId { get { return homeTeamId; } set { homeTeamId = value; } }
        public int AwayTeamId { get { return awayTeamId; } set { awayTeamId = value; } }
        public int HomeScore { get { return homeScore; } set { homeScore = value; } }
        public int AwayScore { get { return awayScore; } set { awayScore = value; } }
        public int RefereeId { get { return refereeId; } set { refereeId = value; } }
        public int Attendance { get { return attendance; } set { attendance = value; } }
    }
}
